home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / ARASAN_S.ZIP / PREFEREN.H < prev    next >
C/C++ Source or Header  |  1993-11-17  |  786b  |  40 lines

  1. // Copyright 1993 by Jon Dart.  All Rights Reserved.
  2.  
  3. #ifndef _PREFERENCES_H
  4. #define _PREFERENCES_H
  5.  
  6. #include <wpp.h>
  7. #include <wpdlg.h>
  8.  
  9. #define IDP_BEEPAFTERMOVE 101
  10. #define IDP_BEEPONERROR 102
  11. #define IDP_COMPUTERCANRESIGN 103
  12. #define IDP_USEOPENINGBOOK 104
  13. #define IDP_THINKWHENIDLE 107
  14. #define IDP_RANDOMIZEMOVES 108
  15. #define IDP_SAVE 115
  16.  
  17. struct Preferences;
  18.  
  19. class PreferencesDialog : public WPDialogModal
  20. {
  21.     // handles the Preferences ... dialog box in the Options menu.
  22.  
  23. public:
  24.  
  25.     PreferencesDialog(WPWin *pwin, Preferences *options) 
  26.     : WPDialogModal("Preferences",pwin, ControlMap, options)
  27.     {
  28.        createWin();         
  29.     }
  30.     
  31.     void initDlg()
  32.     {
  33.     }
  34.     
  35. private:
  36.     static WPControlMap ControlMap[];
  37.  
  38. };
  39.  
  40. #endif